package com.ant.storage.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;



@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("allocation_warehouse_out")
@ApiModel(value="调拨出库对象")
public class AllocationWarehouseOut {

    @TableId(value = "allocation_warehouse_out_id", type = IdType.AUTO)
    private Integer allocation_warehouse_out_id;

    @ApiModelProperty(value = "调拨申请单ID 外键")
    @TableField("allocation_id")
    private Integer allocation_id;

    @ApiModelProperty(value = "调拨出库领料人")
    @TableField("allocation_receive_staff")
    private String allocation_receive_staff;

    @ApiModelProperty(value = "调拨出库人")
    @TableField("allocation_warehouse_out_staff")
    private String allocation_warehouse_out_staff;

    @ApiModelProperty(value = "调拨出库备注")
    @TableField("allocation_warehouse_out_remarks")
    private String allocation_warehouse_out_remarks;

    @ApiModelProperty(value = "出库状态(1:未处理  2:处理中  3:出库完成)")
    @TableField("allocation_warehouse_out_type")
    private Integer allocation_warehouse_out_type;

    @TableField(exist = false)
    private Allocation allocation;

}
